#ifndef PLAYERAPPLICATION_H
#define PLAYERAPPLICATION_H

#include <QApplication>
#include "SecureDataStore.h"
#include "SharedPtr.h"


class PlayerApplication : public QApplication
{
public:
    PlayerApplication(int &argc, char **argv);
    ~PlayerApplication();

	std::shared_ptr< SecureDataStore > getSecureDataStore();

    QString getUser();

    void setUser(const QString& user);

    bool isSuperAdmin();

protected:
	void initData();

protected:
	std::shared_ptr< SecureDataStore >	m_dataStore;

    QString m_user;

};

#endif // PLAYERAPPLICATION_H
